﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using GCC.Container.Models;


namespace tcm.request.Device
{
    public class DeviceLogRequest : PageRequestBase
    {
        public string? device_name { get; set; }

        public DateTime? start_date { get; set; }
        public DateTime? end_date { get; set; }

    }

    public class DeviceLogDto : BaseExtensionDto
    {

        // `device_id` bigint(64) DEFAULT NULL COMMENT '设备id',
        public long device_id { get; set; }
        // `describe` varchar(200) DEFAULT NULL COMMENT '描述',
        public string describe { get; set; }
        // `report` varchar(200) DEFAULT NULL COMMENT '维修报告',
        public string report { get; set; }

        // `remark` varchar(200) DEFAULT NULL COMMENT '备注',
        public string? remark { get; set; } = "";
        // `user_id` bigint(64) DEFAULT NULL COMMENT '维护人员id',
        public string user_name { get; set; }
        // `price` decimal(10,0) DEFAULT NULL COMMENT '维修价格',
        public double price { get; set; }
    }
}
